/*************************************************************************
 * File Name:    test_log.cc
 * Author:       zero91
 * Mail:         jianzhang9102@gmail.com
 * Created Time: Thu 11 Jul 2013 11:36:48 PM CST
 * 
 * Description:  
 ************************************************************************/

#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <queue>
#include <stack>
#include <deque>
#include <map>
#include <set>
#include <functional>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include "logger.h"

using namespace std;

int
main(int argc, char *argv[])
{
    Logger log("dir", "test_log");

    LOG(log, write_warning, "WRONG ANSWER!");
    LOG(log, write_fatal, "FATAL OCCURED!");
    LOG(log, write_notice, "Write NOTICE!");
    LOG(log, write_notice, "Write NOTICE!%d", 22);

    return 0;
}
